import { Http } from "@/utils/http"

class FundsModel {
	index(data) {
		return Http.post('v2/funds/data', data)
	}
	
	count(data) {
		return Http.post('v2/funds/count', data)
	}
	
	add(data) {
		return Http.post('funds/add', data)
	}
	detail(id) {
		return Http.post('funds/detail', {id})
	}
	transfer(data) {
		return Http.post('funds/transfer', data)
	}
	
	transferRecord(page) {
		return Http.post('funds/transferRecord', {page})
	}
	
	del(id) {
		return Http.post('v2/funds/delete', {id})
	}
}


export default new FundsModel